
package com.yuke.cloud.service.uac.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

@Data
@ApiModel(value = "AccPermissionCheckUrlAndTypeDto")
public class AccPermissionCheckUrlAndTypeDto implements Serializable {
	private static final long serialVersionUID = 839437721293973234L;
	/**
	 * 权限的id
	 */
	@ApiModelProperty(value = "权限的id")
	private Long permissionId;

	/**
	 * 权限的url
	 */
	@ApiModelProperty(value = "权限地址")
	@NotBlank(message = "权限地址不能为空")
	private String url;

	/**
	 * 权限的请求类型
	 */
	@ApiModelProperty(value = "权限请求类型")
	@NotBlank(message = "权限请求类型不能为空")
	private String permissionType;

}
